// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Lazyload from 'vue-lazyload'
Vue.use(Lazyload,{
  loading: 'static/imgs/osmfymhm31rn9gwmxgtvtlp60qgzmath.png',
  attempt: 3
})

import store from './store/store.js'
import reset from '../static/css/reset.css'
import common from '../static/css/common.css'
import rem from '../static/js/rem_auto_width.js'
import swiperCss from '../static/css/swiper.min.css'
import swiperJs from '../static/js/swiper.min.js'


Vue.config.productionTip = false;

window.homeBus = new Vue();
window.cartBus = new Vue();
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
});
